package serivce;

import domain.User;

import java.util.Collection;

/**
 * Created by Administrator on 2017/11/26.
 */
public interface UserService {
    /**
     * @param  user
     * @return  如果保存成功返回<code>true</code>
     * 否则返回<code>false</code>
     * */
    boolean save(User user);

    Collection<User> findAll();
}
